Release 10.1A: OpenEdge Development:
Web Services


Extra processing required for RPC/Encoded TABLE-HANDLE parameters

For RPC/Encoded Web services, a TABLE-HANDLE parameter is a System.Array containing the <DataSet> System.Xml.XmlElement. Process the array as follows for:

The following example shows the outlines of both procedures:

’This code goes after the code that creates XML document representing dynTTEl 
’and before calling the method taking the TABLE-HANDLE parameter 
. . . 
‘Create a System.Array containing dynTTEl 
dynTTArray = System.Array.CreateInstance(dynTTEl.GetType, 1) 
dynTTArray(0) = dynTTEl 
‘Run DynTT.p 
 wsObj.DynTT(dynTTArray) 
' Process the output TABLE-HANDLE from DynTT.p 
dynTTEl = dynTTArray(dynTTArray.Length - 1) 
’Continue with the rest of the code for processing the output 
. . . 


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095